|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void main | ( | void | ) |
Software Poll P1.4, Set P1.0 if P1.4 = 1
Poll P1.4 in a loop, if hi P1.0 is set, if low, P1.0 reset. ACLK = n/a, MCLK = SMCLK = default DCO
MSP430F5529, MSP430FR5739
-----------------
/|\| XIN|-
| | |
--|RST XOUT|-
/|\ | | –o–|P1.4 P1.0|-->LED |/
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 59 of file gpio_ex3_softwarePoll.c.
References GPIO_setOutputHighOnPin(), and GPIO_setOutputLowOnPin().